<?php
include "../include/global.php";

?>
<?php echo '<?xml version="1.0" encoding="UTF-8"?>';?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
$sql = "SELECT d.daytrip_id, d.daytrip_name, c.country_code, d.lang FROM ".pre_table."daytrip d, ".pre_table."country c 
			WHERE c.country_id=d.country_id AND daytrip_isactive=1 ORDER BY daytrip_position";

$rs = execSQL($sql);
while($row=mysql_fetch_array($rs)){
	if($row['lang']=='v')
		$mod_daytrip = 'tour-trong-ngay';
	else
		$mod_daytrip = 'daytrips';
?>
<url><loc><?php echo const_Web_Url.'index.php/'.$mod_daytrip.'/'.$row['country_code'].'/'.$row['daytrip_id'].'/'.codau2kodau($row['daytrip_name']).'.html';?></loc></url>
<?php	
}
?>
</urlset>